<extend name="Public/base"/>

<block name="body">
    <script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>

    <div class="main-title">
        <h2> 
        活动推送
        <button class="btn btn-default btn-return" onclick="javascript:history.back(-1);return false;"><i class="glyphicon glyphicon-share-alt"></i> 返 回</button>
        </h2>
    </div>

    <div class="tab-content">
    <form action="" method="post" class="form">
        <div id="tab1" class="tab-pane in tab1">
            <div class="form-item form-group">
                <label class="item-label">所属游戏</label>
                <div class="controls">
                    <select name="game_id">
                        <!-- <option value="0">无</option> -->
                        <volist name="games" id="game">
                            <option value="{$game['id']}">{$game.name}</option>
                        </volist>
                    </select>
                </div>
            </div>

            <div class="form-item form-group">
                <label class="item-label">消息内容<span class="check-tips"></span></label>
                <div class="controls">
                    <input type="text" class="text form-control input-large" name="msg" value="活动消息">
                </div>
            </div>

            <div class="form-item form-group">
                <label class="item-label">打开网址<span class="check-tips"></span></label>
                <div class="controls">
                    <input type="text" class="text form-control input-large" name="uri" value="">
                </div>
            </div>

        </div>
        <br><br>
        <div class="form-item form-group form-action">
            <input type="hidden" name="id" value="{$id}"> 
            <button class="btn submit-btn ajax-post btn-success btn-block" id="submit" type="submit" target-form="form">确 定</button>
            <!-- <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button> -->
        </div>
    </form>
    </div>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('index')}');
    </script>
</block>
